import request from '/@/utils/request'

/**
 * 分页查询字典
 * @param data 
 * @returns 
 */
export const dictPage = (data: any) =>{
  return request.post('/sys/dict/page',data)
}
/**
 * 字典详情
 * @param data 
 * @returns 
 */
export const dictDetail = (data: any) =>{
  return request.post('/sys/dict/detail',data)
}
/**
 * 添加字典
 * @param data 
 * @returns 
 */
export const dictSave = (data: any) =>{
  return request.post('/sys/dict/save',data)
}
/**
 * 修改字典
 * @param data 
 * @returns 
 */
export const dictUpdate = (data: any) =>{
  return request.post('/sys/dict/update',data)
}